package vip.ifmm.lehouse.common.bo;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import vip.ifmm.lehouse.common.model.User;

import java.io.Serializable;
import java.util.Map;

/**
 * @author Red
 * email: 1318944013@qq.com
 * date: 2019/6/16 17:03
 */
@Setter
@Getter
@ToString
@Builder
public class SessionBo implements Serializable{

    private User user;

    private Map<String, Object> data;

    public SessionBo() {
    }

    public SessionBo(User user, Map<String, Object> data) {
        this.user = user;
        this.data = data;
    }
}
